// const hostUrl = 'http://abc.com:9002'
import http from './public'

const hostUrl = 'http://md.swxy.online'

// 获取轮播图
export const getRepair = (xh) => {
  const url = hostUrl + '/student/md/getRepair/' + xh
  return http.requestQuickGet(url)
}

// 获取全部电话号码
export const getAllPhoneCode = () => {
  const url = hostUrl + '/student/md/getAllPhoneCode'
  return http.requestQuickGet(url)
}
// 根据姓名模糊查询获取电话号码
export const findPhoneCodeByName = (name) => {
  const url = hostUrl + '/student/md/getPhoneCode/' + name
  return http.requestQuickGet(url)
}
